<template>
  <div class="about-view">
    <main class="container">
      <h1>About This Project</h1>
      
      <section class="content">
        <div class="description">
          <p>This project is built with the following technologies:</p>
          
          <ul class="tech-list">
            <li>Vue 3 - Progressive JavaScript Framework</li>
            <li>Vue Router - Official router for Vue.js</li>
            <li>Vite - Next generation frontend tooling</li>
            <li>ESLint - Pluggable JavaScript linter</li>
            <li>Prettier - Opinionated code formatter</li>
          </ul>
          
          <p>This project demonstrates how to create a modern Vue application with:</p>
          
          <ul>
            <li>Dynamic routing with nested routes</li>
            <li>Route-based code splitting</li>
            <li>Navigation guards</li>
            <li>Scroll behavior management</li>
            <li>Meta fields for route-specific data</li>
          </ul>
        </div>
        
        <div class="author-info">
          <h2>Project Author</h2>
          <div class="author-card">
            <div class="avatar"></div>
            <div class="details">
              <h3>John Doe</h3>
              <p>Frontend Developer & Vue Enthusiast</p>
              <p>Contact: john.doe@example.com</p>
            </div>
          </div>
        </div>
      </section>
      
      <div class="navigation">
        <router-link to="/" class="btn secondary">Back to Home</router-link>
      </div>
    </main>
  </div>
</template>

<script>
export default {
  name: 'AboutView'
};
</script>

<style scoped>
.about-view {
  padding: 2rem 0;
  background: linear-gradient(to bottom, #e9ecef, #dee2e6);
  min-height: calc(100vh - 120px);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .content {
    grid-template-columns: 2fr 1fr;
  }
}

.description {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tech-list {
  padding-left: 20px;
}

.tech-list li {
  margin-bottom: 8px;
  position: relative;
}

.tech-list li::before {
  content: "•";
  color: #42b983;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

.author-info h2 {
  color: #2c3e50;
  border-bottom: 2px solid #42b983;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.author-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #42b983;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 2rem;
}

.details h3 {
  margin: 0 0 0.5rem;
  color: #2c3e50;
}

.navigation {
  text-align: center;
  margin-top: 2rem;
}

.btn.secondary {
  background-color: #6c757d;
}

.btn.secondary:hover {
  background-color: #5a6268;
}
</style>